package com.boot.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelTarget;

/**
 * Created  on 2018/7/5 10:39.
 * 作者: Dengjb
 * 说明:
 */
@Data
@TableName("girl")

@ExcelTarget("girl")
public class Girl {
	@TableId(type = IdType.AUTO)
	@Excel(name = "id", orderNum = "1", isImportField = "id")
private Integer id;
	@TableField
	@Excel(name = "年龄", orderNum = "2", isImportField = "age")
private Integer age;
	@TableField
	@Excel(name = "名字", orderNum = "3",  isImportField = "name")
private String name;
	@TableField(exist = false)
	private User user;

}
